package com.changpay.zywy.adapter

import android.content.Context
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.changpay.zywy.R
import com.changpay.zywy.bean.selectshopbean

/**
 * Created by chenxz on 2018/4/22.
 */
class SelectShopAdapter(private val context: Context?, datas: MutableList<selectshopbean.MerchantListBean>)
    : BaseQuickAdapter<selectshopbean.MerchantListBean, BaseViewHolder>(R.layout.item_location, datas) {

    override fun convert(helper: BaseViewHolder?, item: selectshopbean.MerchantListBean?) {
        item ?: return
        helper ?: return
        helper.setText(R.id.tv_location,item.shortName )
    }

}
